---
title: BuildProperties
description: A config plugin that allows customizing native build properties during prebuild.
sourceCodeUrl: 'https://github.com/expo/expo/tree/sdk-50/packages/expo-build-properties'
packageName: 'expo-build-properties'
---

import APISection from '~/components/plugins/APISection';
import { APIInstallSection } from '~/components/plugins/InstallSection';
import PlatformsSection from '~/components/plugins/PlatformsSection';
import { ConfigPluginExample } from '~/ui/components/ConfigSection';
import { Tabs, Tab } from '~/ui/components/Tabs';

`expo-build-properties` is a [config plugin](/config-plugins/introduction/) configuring the native build properties
of your **android/gradle.properties** and **ios/Podfile.properties.json** directories during [Prebuild](/workflow/prebuild).

> **info** This config plugin configures how [Prebuild command](/workflow/prebuild) generates the native **android** and **ios** folders
> and therefore cannot be used with projects that don't run `npx expo prebuild` (bare projects).

<PlatformsSection ios simulator android emulator />

## Installation

<APIInstallSection hideBareInstructions />

## Usage

<ConfigPluginExample>

<Tabs>

<Tab label="app.json">

```json app.json|collapseHeight=450
{
  "expo": {
    "plugins": [
      [
        "expo-build-properties",
        {
          "android": {
            "compileSdkVersion": 33,
            "targetSdkVersion": 33,
            "buildToolsVersion": "33.0.0"
          },
          "ios": {
            "deploymentTarget": "13.0"
          }
        }
      ]
    ]
  }
}
```

</Tab>

<Tab label="app.config.js">

```js app.config.js|collapseHeight=450
export default {
  expo: {
    plugins: [
      [
        'expo-build-properties',
        {
          android: {
            compileSdkVersion: 33,
            targetSdkVersion: 33,
            buildToolsVersion: '33.0.0',
          },
          ios: {
            deploymentTarget: '13.0',
          },
        },
      ],
    ],
  },
};
```

</Tab>

</Tabs>

</ConfigPluginExample>

### All configurable properties

[`PluginConfigType`](#pluginconfigtype) interface represents currently available configuration properties.

## API

<APISection packageName="expo-build-properties" apiName="BuildProperties" />
